package dl.domainmodel.strategy;

import dl.domainmodel.model.Contract;
import dl.domainmodel.model.RevenueRecognition;

public class CompleteRecognitionStrategy extends RecognitionStrategy {

	@Override
	public void calculateRevenueRecognitions(Contract contract) {
		contract.addRevenueRecognition(new RevenueRecognition(contract
				.getRevenue(), contract.getWhenSigned()));
	}
}
